package com.studyv3.test.domain.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.studyv3.test.convert.FlagConverter;
import lombok.Data;

import java.util.Date;

@Data
@ColumnWidth(25)
public class ApplyTakeExport {

    @ExcelProperty("申请人")
    private String name;

    @ExcelProperty("商品名称")
    private String productname;

    @ExcelProperty("申请数量")
    private String amount;

    @ExcelProperty(value = "申请状态",converter = FlagConverter.class)
    private Integer flag;

    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty("申请通过时间")
    private Date passTime;

    @ExcelProperty("审批人")
    private String approver;

    @ExcelProperty("批次名")
    private String batchname;


}
